//
//  loggedPageViewController.swift
//  todoApp
//
//  Created by lili on 15/3/5.
//  Copyright (c) 2015年 ll studio. All rights reserved.
//

import UIKit




class loggedPageViewController: UIViewController{
    override func viewDidLoad() {
        super.viewDidLoad()
        self.title = ""
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    @IBAction func logoutPressed(sender: AnyObject) {
        
         NSUserDefaults.standardUserDefaults().setBool(false, forKey: "isUserLoggedIn")
         self.performSegueWithIdentifier("toMasterTable", sender: self)
        
    }
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
